package com.gaojiabao.panghu.service;

import com.gaojiabao.panghu.data.dto.ConditionDto;
import com.gaojiabao.panghu.data.pojo.Store;
import com.gaojiabao.panghu.utils.Result;

/**
 * @Author: gaojiabao
 * @Date: 2024/11/6 8:41
 */
public interface StoreService {
    //分页 + 条件查询门店列表
    Result<?> getStorePageList(Integer currentPage, Integer pageSize, ConditionDto conditionDto,Integer deletedState);

    //逻辑删除门店
    Result<?> deleteStoreById(Integer id);

    //新增门店
    Result<?> addStore(Store store);

    //id -> 获取门店信息
    Result<?> getStoreById(Integer id);

    //编辑门店
    Result<?> updateStore(Store store);
}
